package com.weijianhuawen.wjblog.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationEventPublisher;

import java.util.Objects;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-12-22 16:43
 */

@Getter
public class UpdateCommentEvent extends ApplicationEvent {
    // 评论id
    Long commentId;

    // 用户id
    Long userId;

    public UpdateCommentEvent(Object source, Long commentId, Long userId) {
        super(source);
        this.commentId = commentId;
        this.userId = userId;
    }
}
